<?php

namespace sim\db\Entity;

/**
 * @Entity
 * @Table(name="sim_owner")
 */
class SimOwner extends MappedSuperclassBase
{

    /**
     *
     * @var ineger
     * @ManyToOne(targetEntity="User", inversedBy="sims")
     */
    protected $user;

    /**
     *
     * @var integer
     * @ManyToOne(targetEntity="Sim", inversedBy="users") 
     */
    protected $sim;
    /**
     * 
     * @return User
     */
    public function getUser()
    {
        return $this->user;
    }

    public function setUser(User $user)
    {
        $this->user = $user;
    }
    /**
     * 
     * @return Sim
     */
    public function getSim()
    {
        return $this->sim;
    }

    public function setSim(Sim $sim)
    {
        $this->sim = $sim;
    }



}